Live Chat Configuration
The doc covers the Configuration page in the members section, that can be used to configure the Live chat constants in real time and the constants can be effective at the same time.
Permissions to enable this page for a user :
- For that perticular user's document inside adminusers collection:
Inside permissions -> features -> members -> children, add the following:"/members/configuration": {
"isAllowed": true,
"appPage": "configuration",
"editable": true,
"key": "CONFIGURATION"
}
- For that perticular user's document inside adminusers collection:
The constants can be divided into 4 categories as of now:
- Agent Level Configuration
- The timers like Admin Disconnect and Admin Notification Timeout fall under this section.
- Chat Level Configuration
- The timers like User Disconnect, User Notification Timeout, Inqueue Timeout, Join chat room Timeout, Stale chat timeout, Previous session history time, Feedback form (Toggle button) fall under this section.
- Group Level Configuration
- The operational hours of a group can be changed under this section group wise, provided enableOperationalTime field for that group is set as true in the Database.
- Reminders
- The messages that can be sent, the number of times after which the messages are to be sent and the time after which the message is to be sent when either the customer or the agent doesn't reply within that time interval (Sending reminders functionality is yet to be build).
- Agent Level Configuration
Note
- Any constant (if added) in bsvConstants should be declared as global for the change to be seen in real time.
- The scheduler hits an api at ocs every minute, for the contants to be same in every ocs instance when the system scales out.